<!DOCTYPE html>
<html lang="ch">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
    <style>
        body,div,ul,a{
            margin: 0;
            padding: 0;
            list-style: none;
            text-decoration: none;
        }
        .outside>.center{
            width: 1440px;
            margin: 0 auto;
        }
        /* 头部块 */
        .center>.header{
            height: 80px;
            width: 100%;
            padding: 19px 200px;
            box-sizing: border-box;
        }
        /* 引入头部的图片 */
        .header>.bg{
            width: 150px;
            height: 42px;
            background-image: url("images/user_pic.png");
            float: left;
        }
        .header>span{
            line-height: 60px;
            margin: 20px;
            padding-left: 10px;
            border-left: 1px solid black;
        }
        .box1{
            background-color: rgba(255, 255, 216, 1);
            height: 500px;
            position: relative;
        }
        .box1>.bg{
            width: 500px;
            height: 350px;
            position: absolute;
            top: 50px;
            left: 175px;
        }
        .box1>.bg>img{
            display: block;
        }
        .login{
            background-color: white;
            width: 400px;
            height: 395px;
            position: absolute;
            top: 50px;
            right: 190px;
        }
        .box1>.login ul{
            margin: 25px 50px;
        }
        .box1>.login ul li{
            margin-bottom: 18px;
            position: relative;
        }
         #uname,#upwd{
            width: 300px;
            height: 50px;
            padding-left:45px ;
            box-sizing: border-box;
            outline: 0;
            border: 1px solid rgba(199, 187, 183, 0.5);
        } 
        em{
            background-image: url(./images/login_icon.png);
        }
        .icon_uname,.icon_upwd{
            position:absolute;
            top:15px;
            left: 15px;
            width: 38px;
            height: 22px;
            background-position: -17px 0;
        }
        .icon_upwd{
            left: 8px;
            width: 38px;
            background-position: -48px 0;
        }
        /* 点击用户名密码头像边框变色 */
        .login>ul>li:hover>.icon_uname{
            background-position:-17px -68px ;
        }
        .login>ul>li:hover>.icon_upwd{
            background-position: -48px -68px;
        }
        .login>ul>li:hover>#uname,.login>ul>li:hover>#upwd{
            outline:  1px solid red;
        }
        /* 设置字体大小 */
        .login>ul>li:nth-child(6) span{
            font-size: 12px;
        }
        .login>ul>li:nth-child(4) label{
            font-size: 13px;
            vertical-align: 2px;
        }
       
        .login>ul>li a{
            margin-left: 125px;
            font-size: 12px;
            color: red;
        }
        .login>ul>li img{
            position: absolute;
           right: 0px;
        }
        ul li .denglu{
            width: 300px;
            height: 30px;
            background-color: rgb(185, 32, 32);
            border-radius: 3px;
            color: white;
            margin-top: 5px;
            margin-bottom: 8px;
            cursor: pointer;
        }
        ul li:first-child span{
            font-weight: 900;
        }
        /* 登录方式qq 微信 微博 */
        .login>ul>li>a div{
            width: 25px;
            height: 30px;
            left: 0;
            position: absolute;
            background-image: url(./images/login_icon.png);
            background-position: -3px -31px;
        }
        .login>ul>li>a:nth-child(2) div{
            width: 32px;
            left: 45px;
            background-position: -34px -31px;  
        }
        .login>ul>li>a:nth-child(3) div{
            width: 30px;
            top: 0;
            left: 100px;
            background-position: -71px -31px;  
        }
        div>p{
            font-size: 12px;
            text-align: center;
            font-weight: 100;
        }
    </style>
<body>
    <div class="outside">
        <div class="center">
            <div class="header">
                <div class="bg"></div>
                <span>欢迎登录</span>
            </div>
        </div>
        <div class="center box1">
            <div class="bg">   
                <img src="./images/longin_bg.png" alt="">
            </div>
            <div class="login">
                <ul>
                    <li>
                        <span>登录养生商城</span>
                        <a href="">立即注册</a>
                        <img src="./images/arrows.png" alt="">
                    </li>
                    <li>
                        <em class="icon_uname"></em>
                        <input type="text" name="uname" value="" id="uname" placeholder="  邮箱/手机号">
                    </li>
                    <li>
                        <em class="icon_upwd"></em>
                        <input type="password" name="upwd" value="" id="upwd" placeholder="  请输入密码">
                    </li>
                    <li>
                        <input type="checkbox" id="zd"><label for="zd">下次自动登录</label>
                        <a href="">忘记密码?</a>
                    </li>
                    <li>
                        <input type="button" value="登录" class="denglu">
                    </li>
                    <li><span>可以使用一下方式登录:</span></li>
                    <li>
                            <a href="#"><div></div></a>
                            <a href="#"><div></div></a>
                            <a href="#"><div></div></a>
                    </li>
                </ul>
            </div>
        </div>
        <div>
            <p>关于三九养生堂练习方式友情方式友情链接免费声明诚聘英才广告投放</p>
            <p>本站信息仅供参考，不能作为诊断及医疗的依据 | 本站如有转载或引用文章涉及版权问题_请速与我们联系 | 客服邮箱: service@939yst.com</p>
            <p>苏ICP备12049902号 Copyright 2010-2012 www.39yst.com 三九养生堂 版权所有 未经授权请勿转载</p>
        </div>
    </div>
</body>
</html>